package org.gp953.pet.service;

import org.gp953.basic.service.IBaseService;
import org.gp953.basic.util.PageList;
import org.gp953.pet.domain.Pet;
import org.gp953.pet.domain.SearchMasterMsg;
import org.gp953.pet.query.SearchMasterMsgQuery;

import javax.servlet.http.HttpServletRequest;

public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    void publish(SearchMasterMsg searchMasterMsg, HttpServletRequest request);

    PageList<SearchMasterMsg> pending(SearchMasterMsgQuery query, Long id);

    PageList<SearchMasterMsg> processed(SearchMasterMsgQuery query, Long id);

    PageList<SearchMasterMsg> queryUserMsg(SearchMasterMsgQuery query, Long id);

    void handle(Pet pet, HttpServletRequest request);

}
